package com.hwz.gulimall.product.feign;

import com.hwz.common.to.SkuReductionTo;
import com.hwz.common.to.SpuBoundsTo;
import com.hwz.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author: hwz
 * @CreateTime: 2025-06-11
 */


@FeignClient("gulimall-coupon")
public interface CouPonFeignService {


    @RequestMapping("coupon/spubounds/save")
    R saveCouPon(@RequestBody SpuBoundsTo spuBoundsTo);

    @RequestMapping("coupon/skufullreduction/saveInfo")
    R saveSkuReduction(@RequestBody SkuReductionTo skuReductionTo);
}
